package com.service;

import com.pojo.ResponsePojo;
import com.pojo.User;

public interface UserService {
    ResponsePojo exist(String username);
    ResponsePojo regist(User user);
    ResponsePojo active(String code);
    User login(String username, String password);
    ResponsePojo updatePwd(String password, int id);

    ResponsePojo findAll();
}
